package com.team7.sso.feign;

import com.team7.sso.entity.Member;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(value = "video-member")
public interface MemberFeign {

    @GetMapping("/student/member/findStudentBymobile/{mobile}")
    public Member findStudentBymobile(@PathVariable("mobile") String mobile);
  }